package cn.iocoder.yudao.module.system.controller.admin.application.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 目录审批分页 Request VO")
@Data
public class ApplicationPageReqVO extends PageParam {

    @Schema(description = "目录ID", example = "5170")
    private String catalogId;

    @Schema(description = "表单类型(1-3(ETL，数据集，接口))", example = "1")
    private String applicationType;

    @Schema(description = "申请标题")
    private String applicationTitle;

    @Schema(description = "申请原因", example = "不香")
    private String applicationReason;

    @Schema(description = "应用场景")
    private String applicationScenario;

    @Schema(description = "使用时间起始")
    private LocalDateTime useTimeStart;

    @Schema(description = "使用时间结束")
    private LocalDateTime useTimeEnd;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "联系地址")
    private String contactAddress;

    @Schema(description = "服务范围")
    private String serviceScope;

    @Schema(description = "预期成效")
    private String expectedEffect;

    @Schema(description = "系统名称", example = "张三")
    private String systemName;

    @Schema(description = "部署地点")
    private String deploymentLocation;

    @Schema(description = "系统IP")
    private String systemIp;

    @Schema(description = "系统URL", example = "https://www.iocoder.cn")
    private String systemUrl;

    @Schema(description = "等级保护备案号")
    private String levelProtectionCode;

    @Schema(description = "等保级别")
    private String levelProtectionLevel;

    @Schema(description = "承诺书文件路径")
    private String commitmentFile;

    private String applyFile;

    @Schema(description = "调用次数限制")
    private String callCountLimit;

    @Schema(description = "调用间隔(秒)")
    private String callIntervalSeconds;

    @Schema(description = "目标数据库地址")
    private String targetDatabaseAddress;

    @Schema(description = "目标数据库表名", example = "芋艿")
    private String targetDatabaseTableName;

    @Schema(description = "状态：0 未提交、1 已提交、2 审核中、3 审核不通过、4 审核通过", example = "2")
    private String status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private String createBy;

    private String auditor;

    private Boolean isNotify;

    private String nodeCode;

}